package com.Deome.Class13;

import java.util.HashSet;

public class Text {
    public static void main(String[] args) {
        HashSet<Students1>students=new HashSet<>();
        students.add(new Students1("张三","男",20));
        students.add(new Students1("李四","女",21));
        students.add(new Students1("张三","男",20));
        for (Students1 students1:students){
            System.out.println(students);
        }
    }
}
